#!/bin/bash
for i in I am a oldboy teacher welcome to oldboy training class
do
w=`echo $i|wc -c`
while [ $w -lt 7 ];
do
    echo $i
break
done
done


##!/bin/bash
#content="I am oldboy teacher welcome to oldboy training class."
#new_content=`echo $content | sed 's/\.//'`
#echo $new_content
#arg=(`echo $new_content`)
#for i in ${arg[@]}
#do
#if [[ ${#i} -le 6 ]];then
#echo $i
#fi
#done
